import {ApiPath} from './ApiPath';
import Request from '../common/Request';

const request = new Request();

/**
 * *********************************登录测试用******************************************
 * @returns {Promise<unknown>}
 */
export async function loginByUserPhone(params) {
  return await request.post(
    ApiPath.ServerURL + ApiPath.api.loginByUserPhone,
    params,
  );
}
